You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from ../include/libunwind_i.h:52,
from os-linux.c:29:
../include/pthread.h:37:10: fatal error: pthread_compat.h: No such file or directory
37 | #include "pthread_compat.h"
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
You can see the pthread_compat.h will be copied to sdk/cpprt/linux/libunwind/include. If you are building the SDK with make -j, we can just change the upper Makefile to make sure the order that the copy action is before libunwind build.
I guess we not adding sdk/cpprt/linux to the libunwind Makefile is to avoid wrong header file included by mistake as you can see there are some header files in both sdk/cpprt/linux and sdk/cpprt/linux/libunwind/include, such as unwind.h.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To fix: